<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
import { mapGetters } from "vuex";
import authRouter from "@/router/authRouter";
export default {
  name: "App",
  computed: {
    // ...mapGetters("user", ["isLogin"]),
  },
  created() {
    // 判断用户是否登录
    // if (this.isLogin) {
    //   this.$store.commit("addAuthRouter");
    // }
  },
};
</script>

<style lang="scss">
.el-form-item__label {
  padding: 0 !important;
  float: none !important;
  display: inline-block !important;
  text-align: left !important;
}
.el-form-item__content {
  line-height: 40px;
  position: relative;
  font-size: 14px;
  margin-left: 0px !important;
  .el-input {
    position: relative;
    font-size: 14px;
    display: inline-block;
    width: 100%;
  }
}
.el-button--primary {
  color: #fff;
  background-color: #1baeae;
  border-color: #1baeae;
  width: 100%;
}
.el-button--primary:hover {
  background: #1baeae;
  border-color: #1baeae;
  color: #fff;
}
.el-input__inner:focus {
  border-color: #1baeae;
}
.el-submenu__title {
  background-color: #222832 !important;
}
.is-active {
  color: #1baeae !important;
  background-color: rgb(34, 40, 50) !important;
}
.el-dialog {
  width: 410px !important;
}
.el-main {
  padding: 10px !important;
}

</style>
